FROM anapsix/alpine-java:8u202b08_jdk

MAINTAINER rs-team@realsee.net

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /app

WORKDIR /app

EXPOSE 8001

ADD ./target/wcs-admin.jar ./app.jar

CMD java -Xmx256m -Xms256m -Xss1024k -XX:+UseG1GC -XX:+DisableExplicitGC -jar app.jar
